package com.jlnk.androidfmc;

import android.annotation.SuppressLint;
import android.app.Application;
import android.content.Context;

import com.kongzue.dialogx.DialogX;


public class App extends Application {

  @SuppressLint("StaticFieldLeak")
  private static Context context;

  public static Context getContext() {
    return context;
  }

  @Override
  public void onCreate() {
    super.onCreate();
    context = getApplicationContext();
    init();
  }


  private void init() {
    DialogX.init(this);
  }
}
